n = int(input())

res = []
for i in range(1,n+1):
    if n%i==0:
        res.append(i)
print("{}的是因数是".format(n),res)
print(f"{n}的因数是{res}")